package cn.edu.imau.zy.common.core.entity.examination;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.edu.imau.zy.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;
import cn.edu.imau.zy.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 试卷信息对象 e_paper_info
 * 
 * @author xsc
 * @date 2021-12-04
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("e_paper_info")
public class EPaperInfo implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String name;
    /** 备注 **/
    @Excel(name = "备注")
    private String remark;

    /** $column.columnComment */
    @Excel(name = "试卷名称", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date createDate;

    /** $column.columnComment */
    @Excel(name = "试卷名称", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date updateDate;

    /** 试卷总分 */
    @Excel(name = "试卷总分")
    private Long mark;

    /** 学校类型 */
    @Excel(name = "学校类型")
    private Long schoolType;

    /** 年级id */
    @Excel(name = "年级id")
    private Long gradeInfoId;

    /** 所属科目id */
    @Excel(name = "所属科目id")
    private Long subjectId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 考试时间 */
    @Excel(name = "考试时间")
    private Long examTime;

    /** 考试人数 */
    @Excel(name = "考试人数")
    private Integer examNumber;

    /** 已批改试卷数量 */
    @Excel(name = "已批改试卷数量")
    private Integer correctNumber;

    /** 是否发布 */
    @Excel(name = "是否发布")
    private Integer publishFlag;

    /** 发布时间 */
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date publishTime;

    /** 试题数量 */
    @Excel(name = "试题数量")
    private Long questionNumber;


    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
